/*
 * 作者:熊猫
 * 日期:2017 - 3 - 19 6 - 59 - 54
 *
 */

package net.lainiao.morethread.Chapter7.demo6;

import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.ForkJoinWorkerThread;

/**
 * Created by Administrator on 2017/3/19.
 */
public class MyWorkerThreadFactory implements ForkJoinPool.ForkJoinWorkerThreadFactory {
    @Override
    public ForkJoinWorkerThread newThread(ForkJoinPool pool) {
        return new MyWorkerThread(pool);
    }
}
